package com.seed.core.column;

import com.seed.core.enumeration.SqlOp;

import java.sql.Date;

public class DateColumn extends Column {
    private Date defVal; //COLUMN_DEF 默认值
    private Date min = Date.valueOf("1000-01-01");
    private Date max = Date.valueOf("9999-12-31");

    @Override
    public SqlOp getDefaultOp() {
        return SqlOp.eq;
    }

    public Date getDefVal() {
        return defVal;
    }

    public void setDefVal(Date defVal) {
        this.defVal = defVal;
    }

    public Date getMin() {
        return min;
    }

    public void setMin(Date min) {
        this.min = min;
    }

    public Date getMax() {
        return max;
    }

    public void setMax(Date max) {
        this.max = max;
    }

    @Override
    public Column copy() {
        return null;
    }
}
